﻿@if (Session["loggeduser"] == null)
{
     @Html.ActionLink("Login", "LogOn", "Account") 
}
else
{
    <span>Welcome <a href="@Url.Action("Dashboard","Account")"><strong>@((Session["loggeduser"] as RIS.helpers.user).username)</strong></a>!</span>
     @Html.ActionLink("Log Off", "LogOff", "Account") 
}
